package com.pb.infra.taskManage.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 *任务配置
 * @author liaohaoyuan
 * @date 20210501
 */
@Mapper
@Repository
public interface TaskConMapper {

    /**
     *查询分页数据
     * @param paramMap
     * @return
     */
    List<Map<String, Object>> select(Map<String, Object> paramMap);

    /**
     *总条数
     * @param paramMap
     * @return
     */
    Long selectCount(Map<String, Object> paramMap);

    /**
     *新增
     * @param paramMap
     * @return
     */
    Integer insert(Map<String, Object> paramMap);

    /**
     *修改
     * @param paramMap
     * @return
     */
    Integer update(Map<String, Object> paramMap);

    /**
     *删除数据
     * @param paramMap
     */
    void delete(Map<String, Object> paramMap);

    /**
     *新增序号
     * @return
     */
    String maxColumnId();

}
